*******************************************************************************************
*******************************************************************************************
******************** Reclassification Risk in the Small Group Health Insurance Market
******************* by Sebastian Fleitas, Gautam Gowrisankaran and Anthony Lo Sasso 
*******************************************************************************************
*******************************************************************************************
*******************************************************************************************
******************** Figure C2
*******************************************************************************************
*******************************************************************************************
*******************************************************************************************

 
 
clear all 

graph set window fontface "Times New Roman" 
set scheme s2mono

cd "/Users/sebastianfleitas/Dropbox/MULTICHOICE_PROJECT/PREMIUMS_AND_HEALTHSHOCKS/Tables_RESTAT/Do_files_Analysis/Heterogeneity"

import delimited data_for_eventstudy_industry2023.csv, clear
rename percentile decile
twoway (scatter coef decile, yla(-500(500)1500) yline(0) xlabel(1(1)10) mcolor(grey) msymbol(square)  msize(small) legend(lab( 1 "Coefficient."))) (rcap lb ub decile , legend(lab( 2 "95% confidence interval.")) lcolor(grey)), scheme(s1color) xlabel(, valuelabels angle(0) labsize(medium))  xtitle("") 
graph export graph_industry2023.png, replace
